﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_TypeRoomCollection : List<Rec_TypeRoom>
    { 
         public int IndexOf(Rec_TypeRoom item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_TypeRoom item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_TypeRoom this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_TypeRoom item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_TypeRoom item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_TypeRoom[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_TypeRoom item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_TypeRoom> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_TypeRoom
    {
        private int _IdRoomType;

        public int IdRoomType
        {
            get { return _IdRoomType; }
            set { _IdRoomType = value; }
        }
        private string _RoomTypeCode;

        public string RoomTypeCode
        {
            get { return _RoomTypeCode; }
            set { _RoomTypeCode = value; }
        }
        private string _RoomTypeName;

        public string RoomTypeName
        {
            get { return _RoomTypeName; }
            set { _RoomTypeName = value; }
        }
        private double _PriceHourVn;

        public double PriceHourVn
        {
            get { return _PriceHourVn; }
            set { _PriceHourVn = value; }
        }
        private double _PriceDayVn;

        public double PriceDayVn
        {
            get { return _PriceDayVn; }
            set { _PriceDayVn = value; }
        }
        private double _AuxiliaryVn;

        public double AuxiliaryVn
        {
            get { return _AuxiliaryVn; }
            set { _AuxiliaryVn = value; }
        }
        private int _CurencyType;

        public int CurencyType
        {
            get { return _CurencyType; }
            set { _CurencyType = value; }
        }
    }
}
